/*
 * 文件名： WechatWcPayBaseMessage.java
 * 
 * 工程名称: common-domain
 *
 * Gopay
 *
 * 创建日期： 2016年10月9日
 *
 * Copyright(C) 2016, by www.gopay.com.cn Inc.All rights reserved.
 *
 * 原始作者: 宣广海
 *
 */
package com.gopay.common.domain.bank;

import java.io.Serializable;
import java.math.BigDecimal;

import com.thoughtworks.xstream.annotations.XStreamOmitField;

/**
 * 微信公众号支付父类对象
 *
 * @author 宣广海
 *
 * @version 
 *
 * @since 2016年10月9日
 */
public class WcPayBaseMessage extends BaseMessage implements Serializable{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 微信用户关注商家公众号的openid
	 */
	@XStreamOmitField
	public String subOpenId;
	/**
	 * appId商户公众号
	 */
	@XStreamOmitField
	public String appId;
	
	/**
	 * 设备号
	 */
	@XStreamOmitField
	public String deviceInfo;
	/**
	 * 终端IP(订单生成的机器IP)
	 */
	@XStreamOmitField
	public String mchCreateIp;
	/**
	 * 是否可以支持信用卡(值为1，表示不能使用信用卡；值为0，不限制)
	 */
	@XStreamOmitField
	public String limitCreditPay;
	/**
	 * 商品标记
	 */
	@XStreamOmitField
	public String goodsTag;
	/**
	 * 商品ID预留字段
		此id 为静态可打印的二维码中包含的商品
		ID，商户自行维护。
	 */
	@XStreamOmitField
	public String productId;
	/**
	 * 商品描述
	 */
	@XStreamOmitField
	public String goodsBody;
	/**
	 * 退款请求地址
	 */
	@XStreamOmitField
	public String refundUrl;
	/**
	 * 退款查询请求地址
	 */
	@XStreamOmitField
	public String refundQueryUrl;
	/**
	 *  成功失败标识
	 */
	@XStreamOmitField
	public boolean isSuccess = false;
	/**
	 * 错误码
	 */
	@XStreamOmitField
	public String errCode;
	/**
	 * 错误描述
	 */
	@XStreamOmitField
	public String errMessage;
	/**
	 * json 格式的字符串，对应公众号支付jsapi参数
	 */
	@XStreamOmitField
	public String payInfo;
	
	/**
	 * 原订单金额
	 */
	@XStreamOmitField
	public BigDecimal tkOriAmount;
	
	public String getDeviceInfo() {
		return deviceInfo;
	}
	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}
	public String getMchCreateIp() {
		return mchCreateIp;
	}
	public void setMchCreateIp(String mchCreateIp) {
		this.mchCreateIp = mchCreateIp;
	}
	public String getLimitCreditPay() {
		return limitCreditPay;
	}
	public void setLimitCreditPay(String limitCreditPay) {
		this.limitCreditPay = limitCreditPay;
	}
	public String getGoodsTag() {
		return goodsTag;
	}
	public void setGoodsTag(String goodsTag) {
		this.goodsTag = goodsTag;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getGoodsBody() {
		return goodsBody;
	}
	public void setGoodsBody(String goodsBody) {
		this.goodsBody = goodsBody;
	}
	public String getRefundUrl() {
		return refundUrl;
	}
	public void setRefundUrl(String refundUrl) {
		this.refundUrl = refundUrl;
	}
	public String getRefundQueryUrl() {
		return refundQueryUrl;
	}
	public void setRefundQueryUrl(String refundQueryUrl) {
		this.refundQueryUrl = refundQueryUrl;
	}
	public boolean isSuccess() {
		return isSuccess;
	}
	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}
	public String getErrCode() {
		return errCode;
	}
	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}
	public String getErrMessage() {
		return errMessage;
	}
	public void setErrMessage(String errMessage) {
		this.errMessage = errMessage;
	}
	public String getPayInfo() {
		return payInfo;
	}
	public void setPayInfo(String payInfo) {
		this.payInfo = payInfo;
	}
	public String getSubOpenId() {
		return subOpenId;
	}
	public void setSubOpenId(String subOpenId) {
		this.subOpenId = subOpenId;
	}
	public BigDecimal getTkOriAmount() {
		return tkOriAmount;
	}
	public void setTkOriAmount(BigDecimal tkOriAmount) {
		this.tkOriAmount = tkOriAmount;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	

}
